//
//  XTCReleasePersonInfomation.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/31.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "DKTableViewCell.h"
#import "XVVReleasePersonInfomation.h"
#import "DKButton.h"

@class XTCReleasePersonInfomation;

@protocol XTCReleasePersonInfomationDelegate <NSObject>

@optional

-(void)releasePersonInfomationDidClickAppointmentButtonWithButton:(DKButton*)bespeak;

-(void)releasePersonInfomationDidClickCollectButtonWithButton:(DKButton*)collect;

@end

@interface XTCReleasePersonInfomation : DKTableViewCell

@property (weak) id delegate;

-(void)setCellWithReleasePersonModel:(XMLRealsePersonInformation*)model personType:(XVVReleasePersonInfomationType)useType;

/**
 *  按钮状态
 *
 *  @param appointStatus 预约按钮状态
 *  @param colStatus     收藏按钮状态
 */
-(void)setCellButtonWithAppointmentStatus:(NSString*)appointStatus collectStatus:(NSString*)colStatus;

+(CGFloat)getHeightWithReleasePersonModel:(XMLRealsePersonInformation*)model personType:(XVVReleasePersonInfomationType)useType;

@end
